package com.ternnetwork.toolkit.service.campaign;


import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.springframework.web.multipart.MultipartFile;
import com.ternnetwork.commons.model.http.BaseResponse;
import com.ternnetwork.persistence.page.BootstrapGrid;
import com.ternnetwork.persistence.page.Page;
import com.ternnetwork.toolkit.model.campaign.CampaignData;
import com.ternnetwork.toolkit.model.campaign.CampaignDataRequest;

public interface CampaignDataService {
	
	public BaseResponse idoAdd(CampaignDataRequest infoCollectionDataRequest);
    public BootstrapGrid queryToBootstrapGrid(String campaignId,String channelId,String startTime,String endTime,String buyerMobilePhoneNo,String potentialBuyerMobilePhoneNo,Page page);
	public BaseResponse idoDelete(Long id);
	public HSSFWorkbook exportExcel(String campaignId,String channelId,String startTime,String endTime,String buyerMobilePhoneNo,String potentialBuyerMobilePhoneNo);
    public List<CampaignData> queryAll(String campaignId,String startTime,String endTime);
    public HSSFWorkbook createExcel(List<CampaignData> list);
    public BaseResponse upload(MultipartFile[] file, String currentDir, String dir,HttpServletRequest request);
   
}
